﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BTGISWASECO.DataLayer;
using BTGISWASECO.BusinessEntities;


/// <summary>
/// Summary description for VanKhachHangBLL
/// </summary>
/// 
namespace BTGISWASECO.BusinessLayer
{
    public class VanKhachHangBLL
    {
        VanKhachHangDAL dal = new VanKhachHangDAL();
        public static List<VanKhachHangEntities> GetList()
        {
            return VanKhachHangDAL.GetList();
        }

        public static List<VanKhachHangEntities> GetListByName(string keyword)
        {
            return VanKhachHangDAL.GetListByName(keyword);
        }

        //public bool InsertVanKhachHangEntities bk)
        //{
        //    return dal.Insert(bk);
        //}

        //public bool UpdateVanKhachHangEntities bk)
        //{
        //    return dal.Update(bk);
        //}

        //public bool DeleteVanKhachHangEntities bk)
        //{
        //    return dal.Delete(bk);
        //}

        public VanKhachHangEntities GetVanKhachHangEntitiesByID()
        {
            return dal.GetVanKhachHangEntitiesByID();
        }
        public VanKhachHangBLL()
        {
            //
            // TODO: Add constructor logic here
            //
        }
    }
}